<?php

function xpath_if($a,$b,$c){
  return $a ? $b : $c;
}

function xpath_property($cad){
  $property="";
  if($cad = "version"){
    $property= "1.1";
  }
  if($cad = "conformance_level"){
	$property = "full". $property;
  }
}

